package com.woniu.cq.mallcommon.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author daniel
 * @since 2020-09-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_orderitem")
public class Orderitem implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "orderitem_id", type = IdType.AUTO)
    private Integer orderitemId;

    private Integer orderId;

    private Integer productId;

    private Integer number;

    private Double productPrice;

    private Double totalPrice;


}
